package org.example.main.dao;


import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Record;

import java.util.List;

@Mapper
public interface RecordMapper {
    int insert(Record record);
    int deleteById(long recordId);
    List<Record> findAll();
    List<Record> findByTenantId(long tenantId);
    List<Record> findByHouseId(long houseId);
}
